﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using cmsservice.Entity.Log;

namespace cmsservice.DAL.Hibernate
{
    public class BBSKeyValueDAL
    {
        public BBSKeyValue GetObjByKey(string key)
        {
            using (LogContext context = new LogContext())
            {
                return context.Session.Get<BBSKeyValue>(key);
            }
        }
    }
}
